
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Swagger UI</title>
    <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Source+Code+Pro:300,600|Titillium+Web:400,600,700" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.24.2/swagger-ui.css" >
    <link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" />
    <link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" />
    <style>
        html
        {
            box-sizing: border-box;
            overflow: -moz-scrollbars-vertical;
            overflow-y: scroll;
        }
        *,
        *:before,
        *:after
        {
            box-sizing: inherit;
        }

        body {
            margin:0;
            background: #fafafa;
        }
    </style>
</head>

<body>

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="position:absolute;width:0;height:0">
    <defs>
        <symbol viewBox="0 0 20 20" id="unlocked">
            <path d="M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V6h2v-.801C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8z"></path>
        </symbol>

        <symbol viewBox="0 0 20 20" id="locked">
            <path d="M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8zM12 8H8V5.199C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8z"/>
        </symbol>

        <symbol viewBox="0 0 20 20" id="close">
            <path d="M14.348 14.849c-.469.469-1.229.469-1.697 0L10 11.819l-2.651 3.029c-.469.469-1.229.469-1.697 0-.469-.469-.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-.469-.469-.469-1.228 0-1.697.469-.469 1.228-.469 1.697 0L10 8.183l2.651-3.031c.469-.469 1.228-.469 1.697 0 .469.469.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c.469.469.469 1.229 0 1.698z"/>
        </symbol>

        <symbol viewBox="0 0 20 20" id="large-arrow">
            <path d="M13.25 10L6.109 2.58c-.268-.27-.268-.707 0-.979.268-.27.701-.27.969 0l7.83 7.908c.268.271.268.709 0 .979l-7.83 7.908c-.268.271-.701.27-.969 0-.268-.269-.268-.707 0-.979L13.25 10z"/>
        </symbol>

        <symbol viewBox="0 0 20 20" id="large-arrow-down">
            <path d="M17.418 6.109c.272-.268.709-.268.979 0s.271.701 0 .969l-7.908 7.83c-.27.268-.707.268-.979 0l-7.908-7.83c-.27-.268-.27-.701 0-.969.271-.268.709-.268.979 0L10 13.25l7.418-7.141z"/>
        </symbol>


        <symbol viewBox="0 0 24 24" id="jump-to">
            <path d="M19 7v4H5.83l3.58-3.59L8 6l-6 6 6 6 1.41-1.41L5.83 13H21V7z"/>
        </symbol>

        <symbol viewBox="0 0 24 24" id="expand">
            <path d="M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"/>
        </symbol>

    </defs>
</svg>

<div id="swagger-ui"></div>

<script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.24.2/swagger-ui-bundle.js"> </script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.24.2/swagger-ui-standalone-preset.js"> </script>
<script>
    window.onload = function() {
        const ui = SwaggerUIBundle({
            spec: {
    "swagger": "2.0",
    "info": {
        "title": "inventory/proto/api.proto",
        "version": ""
    },
    "schemes": [
        "http",
        "https"
    ],
    "consumes": [
        "application/json",
        "multipart/form-data"
    ],
    "produces": [
        "application/json"
    ],
    "paths": {
        "/inventory/common/expire/check": {
            "get": {
                "summary": "过期自检",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/common/express/platform": {
            "get": {
                "summary": "获取通用配送平台（不校验token）",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetPlatformsResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "deliver_type",
                        "description": "配送模式1~同城，2~异地,oneof=1 2",
                        "in": "query",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/common/month/backup-storage": {
            "get": {
                "summary": "生成库存月临时表",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/common/month/settle": {
            "get": {
                "summary": "生成月概况表",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/common/nsq/retry": {
            "get": {
                "summary": "消息重试",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "limit",
                        "description": "重试条数",
                        "in": "query",
                        "required": false,
                        "type": "integer"
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/common/selection/warehouse": {
            "get": {
                "summary": "获取当前模式下全量仓库列表",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetSelectionWarehouseResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetSelectionWarehouseRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/customer/prods": {
            "post": {
                "summary": "查看用户指定仓库多个商品库存情况",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetProdsResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetProdsRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/customer/sku/match": {
            "get": {
                "summary": "基于指定配送方式查看指定规格总部商品最近有存货的仓库信息和库存信息（该请求未测试，目前可能仍存在一些逻辑问题，待调整）",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.MatchSkuResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.MatchSkuRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/customer/warehouse/match": {
            "get": {
                "summary": "匹配自营仓库/经销商仓库",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.MatchWarehouseResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.MatchWarehouseRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/customer/warehouse/stores": {
            "post": {
                "summary": "基于门店ID换取仓库映射列表(平台模式)",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetWarehouseStoresResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetWarehouseStoresRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/notify/dada": {
            "post": {
                "summary": "达达",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.DaDaNotifyRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/notify/sf": {
            "post": {
                "summary": "顺丰",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.SFNotifySuccessReply"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.SFNotifyRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/bom": {
            "get": {
                "summary": "查看bom待配置/已配置列表",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetBomResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetBomRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            },
            "post": {
                "summary": "配置bom",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.EditBomRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/express/platform": {
            "post": {
                "summary": "查看指定仓库的配送平台列表",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetPlatformsResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetWarehouseExpressPlatformsRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/inventory/draft": {
            "delete": {
                "summary": "取消盘点草稿",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.CommonOrderRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            },
            "post": {
                "summary": "修改或提交盘点草稿",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.EditInventoryDraftRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/inventory/info": {
            "get": {
                "summary": "查看盘点记录（含草稿）信息",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetInventoryInfoResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.CommonOrderRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            },
            "post": {
                "summary": "创建盘点(含草稿)",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.CommonOrderReply"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.AddInventoryInfoRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/inventory/list": {
            "get": {
                "summary": "查看盘点记录列表",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetInventoryListResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetInventoryListRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/loss/info": {
            "post": {
                "summary": "报损记录创建",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.AddLossInfoRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/loss/list": {
            "get": {
                "summary": "查看报损记录",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetLossListResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetLossListRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/material/info": {
            "get": {
                "summary": "查看指定物料详情",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetMaterialDetailResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.CommonObject64Request"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            },
            "delete": {
                "summary": "删除物料配置",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.CommonObject64Request"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            },
            "post": {
                "summary": "新建物料产品",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.AddMaterialRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            },
            "put": {
                "summary": "修改物料配置",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.EditMaterialRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/material/list": {
            "get": {
                "summary": "查看指定子类物料/产品列表",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetMaterialsResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.CommonObjectRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/material/type": {
            "get": {
                "summary": "查看产品(物料)配置类别(大类/子类)列表",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetMaterialTypeResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.CommonRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            },
            "delete": {
                "summary": "删除产品配置类别",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.CommonObjectRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            },
            "post": {
                "summary": "新建产品配置类别",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.AddMaterialTypeRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            },
            "put": {
                "summary": "修改产品配置类别",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.EditMaterialTypeRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/order/deliver": {
            "post": {
                "summary": "订单发货",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.DeliveryProcessOrderRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/order/finished": {
            "get": {
                "summary": "查看已完成履约单列表",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetProcessOrdersResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetFinishedOrdersRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/order/info": {
            "get": {
                "summary": "查看履约订单详情",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetOrderInfoResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.CommonOrderRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/order/lack/notify": {
            "post": {
                "summary": "订单缺货通知",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.CommonOrderRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/order/pick-up": {
            "post": {
                "summary": "订单自提",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.CommonOrderRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/order/processing": {
            "get": {
                "summary": "查看待处理履约单列表",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetProcessOrdersResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetProcessingOrdersRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/order/ready": {
            "post": {
                "summary": "订单备货完成",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.CommonOrderRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/prod-skus": {
            "post": {
                "summary": "查询指定仓库指定规格商品库存",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetMultipleProdSkusReply"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetMultipleProdSkusRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/prods": {
            "post": {
                "summary": "查看不同商品库存分布",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetProdStoragesResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetProdStoragesRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/purchase/info": {
            "get": {
                "summary": "查看采购单详情",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetPurchaseInfoResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.CommonOrderRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            },
            "post": {
                "summary": "创建采购入库单",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.CommonOrderReply"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.AddPurchaseInfoRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/purchase/list": {
            "get": {
                "summary": "采购入库单列表",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetPurchaseListResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetPurchaseListRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/purchase/refund": {
            "post": {
                "summary": "创建采购退货单",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.CommonOrderReply"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.AddPurchaseRefundRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/refund/agree": {
            "post": {
                "summary": "同意退货",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.CommonOrderRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/refund/finished": {
            "get": {
                "summary": "查看已处理退货单",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetRefundProcessOrdersResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetRefundOrdersRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/refund/info": {
            "get": {
                "summary": "查看退货单详情",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetRefundProcessOrderInfoResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.CommonOrderRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/refund/processing": {
            "get": {
                "summary": "查看待处理退货单",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetRefundProcessOrdersResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetRefundOrdersRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/refund/reject": {
            "post": {
                "summary": "拒绝退货",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.RejectRefundProcessRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/schedule/apply": {
            "post": {
                "summary": "创建调拨单详情",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.CommonOrderReply"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.ApplyScheduleRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/schedule/in": {
            "get": {
                "summary": "调入管理列表",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetScheduleInResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetScheduleInRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/schedule/info": {
            "get": {
                "summary": "查看调拨单详情",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetScheduleInfoResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.CommonOrderRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/schedule/out": {
            "get": {
                "summary": "调出管理列表",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetScheduleOutResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetScheduleOutRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/schedule/receive": {
            "post": {
                "summary": "调拨申请单入库",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.ReceiveScheduleRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/schedule/review": {
            "post": {
                "summary": "调拨申请单调出审核",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.ReviewScheduleRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/selection/object": {
            "get": {
                "summary": "查看库存操作可选产品/商品下拉框",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetSelectionObjectResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetSelectionObjectRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/selection/warehouse/storage-types": {
            "get": {
                "summary": "查看实时库存可选类别",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetSelectionWarehouseStorageTypesResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetSelectionWarehouseStorageTypesRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/skus": {
            "get": {
                "summary": "查看后台指定商品不同规格规格库存分布",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetProductSkusResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetProductSkusRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/stats/month-sales/info": {
            "get": {
                "summary": "进销存报表详情页",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetMonthSalesInfoResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetMonthSalesInfoRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/stats/month-sales/list": {
            "get": {
                "summary": "进销存报表列表查看",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetMonthSalesListResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetMonthSalesListRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/unit": {
            "get": {
                "summary": "物料单位列表",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetUnitsResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.CommonRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            },
            "delete": {
                "summary": "删除物料单位",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.CommonObjectRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/warehouse/city-express/list": {
            "get": {
                "summary": "查看即时配送列表",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetExpressListReply"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.CommonPaginateRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/warehouse/city-express/platform": {
            "get": {
                "summary": "查看指定仓库同城配送平台列表",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetCityExpressPlatformReply"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.CommonObjectRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            },
            "delete": {
                "summary": "解绑配送平台信息",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.DeleteCityExpressPlatformRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            },
            "post": {
                "summary": "绑定/编辑配送平台信息(主动配置)",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.EditCityExpressPlatformRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/warehouse/city-express/region": {
            "get": {
                "summary": "查看同城配送区域",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetCityExpressRegionsResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.CommonObjectRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            },
            "post": {
                "summary": "配置同城配送区域",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.EditWarehouseCityExpressRegionsRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/warehouse/info": {
            "get": {
                "summary": "查看仓库详情",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.WarehouseView"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.CommonObjectRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            },
            "post": {
                "summary": "新建仓库",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.AddWarehouseReply"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.AddWarehouseRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            },
            "put": {
                "summary": "编辑仓库",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.EditWarehouseRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/warehouse/list": {
            "get": {
                "summary": "查看仓库列表",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetWarehouseListReply"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetWarehouseListRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/warehouse/ordinary-express/list": {
            "get": {
                "summary": "查看普通快递列表",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetExpressListReply"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.CommonPaginateRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/warehouse/ordinary-express/region": {
            "get": {
                "summary": "查看普通快递配送区域",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetOrdinaryRegionsReply"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.CommonObjectRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            },
            "post": {
                "summary": "配置普通快递配送区域",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.EditOrdinaryExpressRegionsRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/inventory/web/warehouse/storage": {
            "post": {
                "summary": "查看实时库存",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetWarehouseStorageResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.inventory.GetWarehouseStorageRequest"
                        }
                    }
                ],
                "tags": [
                    "inventory.Inventory"
                ]
            }
        },
        "/ping": {
            "get": {
                "summary": "健康检查",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.inventory.DefaultResp"
                        }
                    }
                },
                "tags": [
                    "inventory.Inventory"
                ]
            }
        }
    },
    "definitions": {
        ".google.protobuf.DoubleValue": {
            "type": "object",
            "properties": {
                "value": {
                    "type": "number",
                    "format": "double",
                    "description": "The double value."
                }
            },
            "description": "Wrapper message for `double`.\n\n The JSON representation for `DoubleValue` is JSON number."
        },
        ".google.protobuf.Empty": {
            "type": "object",
            "properties": {},
            "description": "A generic empty message that you can re-use to avoid defining duplicated\n empty messages in your APIs. A typical example is to use it as the request\n or the response type of an API method. For instance:\n\n     service Foo {\n       rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n     }\n\n The JSON representation for `Empty` is empty JSON object `{}`."
        },
        ".inventory.AddInventoryInfoRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "is_submitted": {
                    "type": "boolean",
                    "description": "是否提交false~不提交仅创建草稿，true~提交"
                },
                "data": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.InventoryLine"
                    },
                    "description": "列表"
                }
            },
            "required": [
                "id",
                "data"
            ]
        },
        ".inventory.AddLossInfoRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "details": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.LossLine"
                    },
                    "description": "报损明细"
                }
            },
            "required": [
                "id",
                "details"
            ]
        },
        ".inventory.AddMaterialRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "name": {
                    "type": "string",
                    "description": "物料类别名称"
                },
                "parent_id": {
                    "type": "integer",
                    "description": "类别ID"
                },
                "unit": {
                    "$ref": "#/definitions/.inventory.UnitView",
                    "description": "零售单位"
                },
                "purchase_unit": {
                    "$ref": "#/definitions/.inventory.UnitView",
                    "description": "采购单位"
                },
                "storage_unit": {
                    "$ref": "#/definitions/.inventory.UnitView",
                    "description": "库存单位"
                }
            },
            "required": [
                "name",
                "parent_id",
                "unit",
                "purchase_unit",
                "storage_unit"
            ]
        },
        ".inventory.AddMaterialTypeRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "name": {
                    "type": "string",
                    "description": "物料类别名称"
                },
                "parent_id": {
                    "type": "integer",
                    "description": "父类ID（建立大类时传入0，建立子类时为大类ID）"
                }
            },
            "required": [
                "name"
            ]
        },
        ".inventory.AddPurchaseInfoRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "memo": {
                    "type": "string",
                    "description": "订单备注"
                },
                "details": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.PurchaseLine"
                    },
                    "description": "明细"
                }
            },
            "required": [
                "id",
                "details"
            ]
        },
        ".inventory.AddPurchaseRefundRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "memo": {
                    "type": "string",
                    "description": "订单备注"
                },
                "details": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.PurchaseRefundLine"
                    },
                    "description": "明细"
                },
                "order_number": {
                    "type": "string",
                    "description": "采购单号"
                }
            },
            "required": [
                "id",
                "details",
                "order_number"
            ]
        },
        ".inventory.AddWarehouseReply": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "仓库ID（新建时传0）"
                },
                "message": {
                    "type": "string",
                    "description": "状态标志"
                }
            }
        },
        ".inventory.AddWarehouseRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID（新建时传0）"
                },
                "name": {
                    "type": "string",
                    "description": "仓库名称,max=24"
                },
                "store_id": {
                    "type": "integer",
                    "description": "门店ID(0~总部仓)"
                },
                "address": {
                    "type": "string",
                    "description": "仓库地址,max=200"
                },
                "pick_up": {
                    "type": "boolean",
                    "description": "是否支持自提"
                },
                "city_express": {
                    "type": "boolean",
                    "description": "是否支持同城配送"
                },
                "ordinary_express": {
                    "type": "boolean",
                    "description": "是否支持普通快递"
                },
                "latitude": {
                    "type": "number",
                    "format": "double",
                    "description": "纬度,latitude"
                },
                "longitude": {
                    "type": "number",
                    "format": "double",
                    "description": "经度,longitude"
                },
                "city_code": {
                    "type": "integer",
                    "description": "城市编码"
                },
                "region_code": {
                    "type": "string",
                    "description": "区域编码,max=4"
                },
                "contact": {
                    "type": "string",
                    "description": "仓库联系人名称（退货使用）,max=16"
                },
                "mobile": {
                    "type": "string",
                    "description": "仓库联系人电话（退货使用）,max=16"
                },
                "deadline": {
                    "type": "string",
                    "description": "自提模式每日截止下单时间（截止时间后下单则后一个自然日才能自提）"
                },
                "storage_mode": {
                    "type": "integer",
                    "description": "库存管理模式，0~弱管控，1~强管控,oneof=0 1"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "模式~总部/门店ID"
                },
                "source": {
                    "type": "string",
                    "description": "// 使用权ID\n  uint32 permission_id = 18;\n source, \"\"~默认，其他~对应系统来源，不落地，对应系统自己记录，作为消息通知返回以便外部依赖使用"
                }
            },
            "required": [
                "contact",
                "mobile"
            ]
        },
        ".inventory.ApplyScheduleRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "out_warehouse_id": {
                    "type": "integer",
                    "description": "调出仓库ID"
                },
                "details": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.ScheduleLine"
                    },
                    "description": "明细"
                }
            },
            "required": [
                "id",
                "out_warehouse_id",
                "details"
            ]
        },
        ".inventory.BomSkuView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "规格ID（无规格这里返回0）"
                },
                "name": {
                    "type": "string",
                    "description": "规格名称（无规格这里为空字符）"
                },
                "bom": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.BomView"
                    },
                    "description": "bom配置"
                }
            }
        },
        ".inventory.BomView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "物料ID"
                },
                "name": {
                    "type": "string",
                    "description": "物料名称"
                },
                "unit": {
                    "type": "string",
                    "description": "物料零售单位名称"
                },
                "quantity": {
                    "type": "number",
                    "format": "double",
                    "description": "物料数量"
                }
            }
        },
        ".inventory.CityExpressRegion": {
            "type": "object",
            "properties": {
                "starting_fee": {
                    "type": "integer",
                    "description": "起送金额（分）"
                },
                "shipping_fee": {
                    "type": "integer",
                    "description": "配送费（分）"
                },
                "coordinates": {
                    "type": "string",
                    "description": "区域坐标（与外卖同城配置坐标格式一致）格式为\"[[[120.029892,30.280649]]]\""
                },
                "city_code": {
                    "type": "integer",
                    "description": "城市编码"
                }
            },
            "required": [
                "city_code"
            ]
        },
        ".inventory.CityExpressRegionView": {
            "type": "object",
            "properties": {
                "starting_fee": {
                    "type": "integer",
                    "description": "起送金额（分）"
                },
                "shipping_fee": {
                    "type": "integer",
                    "description": "配送费（分）"
                },
                "coordinates": {
                    "type": "string",
                    "description": "区域坐标（与外卖同城配置坐标格式一致）格式为\"[[[120.029892,30.280649]]]\""
                },
                "city_code": {
                    "type": "integer",
                    "description": "城市编码"
                },
                "status": {
                    "type": "boolean",
                    "description": "当前是否生效"
                }
            }
        },
        ".inventory.CommonObject64Request": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                }
            },
            "required": [
                "id"
            ]
        },
        ".inventory.CommonObjectRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "对象ID"
                }
            },
            "required": [
                "id"
            ]
        },
        ".inventory.CommonOrderReply": {
            "type": "object",
            "properties": {
                "order_number": {
                    "type": "string",
                    "description": "单号"
                }
            }
        },
        ".inventory.CommonOrderRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "order_number": {
                    "type": "string",
                    "description": "订单号"
                }
            },
            "required": [
                "id",
                "order_number"
            ]
        },
        ".inventory.CommonPaginateRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "page_no": {
                    "type": "integer",
                    "description": "页数"
                },
                "page_size": {
                    "type": "integer",
                    "description": "每页数量（不超过100）"
                }
            },
            "required": [
                "page_no",
                "page_size"
            ]
        },
        ".inventory.CommonRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                }
            }
        },
        ".inventory.CommonRetryRequest": {
            "type": "object",
            "properties": {
                "limit": {
                    "type": "integer",
                    "description": "重试条数"
                }
            }
        },
        ".inventory.CustomerToken": {
            "type": "object",
            "properties": {
                "member_id": {
                    "type": "integer",
                    "description": "会员ID"
                },
                "brand_id": {
                    "type": "integer",
                    "description": "品牌ID"
                },
                "app_id": {
                    "type": "string",
                    "description": "平台服务ID"
                },
                "open_id": {
                    "type": "string",
                    "description": "平台用户ID"
                },
                "bilin_app": {
                    "type": "string",
                    "description": "平台枚举类型值"
                }
            },
            "description": "customer token 标准结构",
            "required": [
                "member_id",
                "brand_id",
                "app_id",
                "open_id",
                "bilin_app"
            ]
        },
        ".inventory.DaDaNotifyRequest": {
            "type": "object",
            "properties": {
                "client_id": {
                    "type": "string",
                    "description": "返回达达运单号，默认为空"
                },
                "order_id": {
                    "type": "string",
                    "description": "添加订单接口中的origin_id值"
                },
                "order_status": {
                    "type": "integer",
                    "description": "订单状态(待接单＝1,待取货＝2,配送中＝3,已完成＝4,已取消＝5, 指派单=8,妥投异常之物品返回中=9, 妥投异常之物品返回完成=10, 骑士到店=100,创建达达运单失败=1000 可参考文末的状态说明）"
                },
                "cancel_reason": {
                    "type": "string",
                    "description": "订单取消原因,其他状态下默认值为空字符串"
                },
                "cancel_from": {
                    "type": "integer",
                    "description": "订单取消原因来源(1:达达配送员取消；2:商家主动取消；3:系统或客服取消；0:默认值)"
                },
                "update_time": {
                    "type": "integer",
                    "description": "更新时间，时间戳除了创建达达运单失败=1000的精确毫秒，其他时间戳精确到秒"
                },
                "signature": {
                    "type": "string",
                    "description": "对client_id, order_id, update_time的值进行字符串升序排列，再连接字符串，取md5值"
                },
                "dm_id": {
                    "type": "integer",
                    "description": "达达配送员id，接单以后会传"
                },
                "dm_name": {
                    "type": "string",
                    "description": "配送员姓名，接单以后会传"
                },
                "dm_mobile": {
                    "type": "string",
                    "description": "配送员手机号，接单以后会传"
                }
            },
            "required": [
                "client_id",
                "order_id",
                "update_time",
                "signature"
            ]
        },
        ".inventory.DailyRecordsView": {
            "type": "object",
            "properties": {
                "record_date": {
                    "type": "string",
                    "description": "日期 YYYY-mm-dd"
                },
                "type": {
                    "type": "string",
                    "description": "记录类型，比如\"采购入库\""
                },
                "quantity": {
                    "type": "number",
                    "format": "double",
                    "description": "数量"
                },
                "amount": {
                    "type": "integer",
                    "description": "金额(单位：元)"
                },
                "price": {
                    "type": "integer",
                    "description": "操作时单价(单位：元)"
                },
                "operation_unit": {
                    "type": "string",
                    "description": "操作单位（这里实际为快照，和具体操作有关，不展示换算信息）"
                }
            }
        },
        ".inventory.DefaultResp": {
            "type": "object",
            "properties": {
                "status": {
                    "type": "boolean",
                    "description": "请求是否成功"
                },
                "error_code": {
                    "type": "string",
                    "description": "细粒度业务错误码，一般仅用于判定业务错误特定分支，如果不判定可以简易将此时的error_message展示给前端；其他类别时error_code为锁定字段\nInvalidArgument~BAD_REQUEST；AuthenticatedError~Unauthenticated； UserCancelled~USER_CANCELLED；SystemError~SYSTEM_ERROR"
                },
                "error_message": {
                    "type": "string",
                    "description": "错误描述"
                },
                "error_type": {
                    "type": "string",
                    "description": "错误类型: InvalidArgument~参数错误；AuthenticatedError~身份验证错误；BizError~业务错误；UserCancelled~调用方取消；SystemError~系统错误"
                }
            },
            "description": "标准返回结构"
        },
        ".inventory.DeleteCityExpressPlatformRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "platform_id": {
                    "type": "integer",
                    "description": "配送平台ID"
                }
            },
            "required": [
                "id",
                "platform_id"
            ]
        },
        ".inventory.DeliveryProcessOrderRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "order_number": {
                    "type": "string",
                    "description": "订单号"
                },
                "platform_id": {
                    "type": "integer",
                    "description": "平台ID(当且仅当deliver_type=3时，允许传0，视为商家配送/无需配送)"
                },
                "platform_order_number": {
                    "type": "string",
                    "description": "平台订单号（普通快递必传）"
                },
                "platform_deliver_fee": {
                    "type": "integer",
                    "description": "平台配送费(单位：分)"
                },
                "deliver_type": {
                    "type": "integer",
                    "description": "配送方式,in_enum"
                }
            },
            "required": [
                "id",
                "order_number",
                "platform_order_number",
                "deliver_type"
            ]
        },
        ".inventory.EditBomRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "prod_id": {
                    "type": "integer",
                    "description": "商品ID"
                },
                "sku_id": {
                    "type": "integer",
                    "description": "规格ID"
                },
                "bom": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.EditBomView"
                    },
                    "description": "bom列表"
                }
            },
            "required": [
                "prod_id"
            ]
        },
        ".inventory.EditBomView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "物料ID"
                },
                "quantity": {
                    "type": "number",
                    "format": "double",
                    "description": "物料数量"
                }
            }
        },
        ".inventory.EditCityExpressPlatformRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "platform_id": {
                    "type": "integer",
                    "description": "配送平台ID"
                },
                "info": {
                    "type": "string",
                    "description": "配送配置字段, 顺丰同城模式返回为编码, 达达同城模式返回可以不展示"
                }
            },
            "required": [
                "id",
                "platform_id"
            ]
        },
        ".inventory.EditInventoryDraftRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "is_submitted": {
                    "type": "boolean",
                    "description": "是否提交false~不提交仅创建草稿，true~提交"
                },
                "data": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.InventoryLine"
                    },
                    "description": "列表"
                },
                "order_number": {
                    "type": "string",
                    "description": "订单号"
                }
            },
            "required": [
                "id",
                "data",
                "order_number"
            ]
        },
        ".inventory.EditMaterialRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "物料ID"
                },
                "unit": {
                    "$ref": "#/definitions/.inventory.UnitView",
                    "description": "零售单位"
                },
                "purchase_unit": {
                    "$ref": "#/definitions/.inventory.UnitView",
                    "description": "采购单位"
                },
                "storage_unit": {
                    "$ref": "#/definitions/.inventory.UnitView",
                    "description": "库存单位"
                }
            },
            "required": [
                "id",
                "unit",
                "purchase_unit",
                "storage_unit"
            ]
        },
        ".inventory.EditMaterialTypeRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "name": {
                    "type": "string",
                    "description": "物料类别名称"
                },
                "id": {
                    "type": "integer",
                    "description": "类别ID"
                }
            },
            "required": [
                "name"
            ]
        },
        ".inventory.EditOrdinaryExpressRegionsRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "platforms": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    },
                    "description": "配送平台ID列表"
                },
                "regions": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.OrdinaryExpressRegionView"
                    },
                    "description": "区域列表"
                }
            },
            "required": [
                "id"
            ]
        },
        ".inventory.EditWarehouseCityExpressRegionsRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "regions": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.CityExpressRegion"
                    },
                    "description": "区域列表"
                }
            },
            "required": [
                "id"
            ]
        },
        ".inventory.EditWarehouseRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID（新建时传0）"
                },
                "name": {
                    "type": "string",
                    "description": "仓库名称,max=24"
                },
                "store_id": {
                    "type": "integer",
                    "description": "门店ID(0~总部仓)"
                },
                "address": {
                    "type": "string",
                    "description": "仓库地址,max=200"
                },
                "pick_up": {
                    "type": "boolean",
                    "description": "是否支持自提"
                },
                "city_express": {
                    "type": "boolean",
                    "description": "是否支持同城配送"
                },
                "ordinary_express": {
                    "type": "boolean",
                    "description": "是否支持普通快递"
                },
                "latitude": {
                    "type": "number",
                    "format": "double",
                    "description": "纬度,latitude"
                },
                "longitude": {
                    "type": "number",
                    "format": "double",
                    "description": "经度,longitude"
                },
                "city_code": {
                    "type": "integer",
                    "description": "城市编码"
                },
                "region_code": {
                    "type": "string",
                    "description": "区域编码,max=4"
                },
                "contact": {
                    "type": "string",
                    "description": "仓库联系人名称（退货使用）,max=10"
                },
                "mobile": {
                    "type": "string",
                    "description": "仓库联系人电话（退货使用）,max=16"
                },
                "deadline": {
                    "type": "string",
                    "description": "自提模式每日截止下单时间（截止时间后下单则后一个自然日才能自提）"
                },
                "storage_mode": {
                    "type": "integer",
                    "description": "库存管理模式，0~弱管控，1~强管控"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "模式~总部/门店ID"
                },
                "source": {
                    "type": "string",
                    "description": "source, \"\"~默认，其他~对应系统来源，不落地，对应系统自己记录，作为消息通知返回以便外部依赖使用"
                }
            },
            "required": [
                "name",
                "address",
                "latitude",
                "longitude",
                "contact",
                "mobile"
            ]
        },
        ".inventory.ExpressRegionView": {
            "type": "object",
            "properties": {
                "start_fee": {
                    "type": "integer",
                    "description": "起送金额（元）"
                },
                "express_fee": {
                    "type": "integer",
                    "description": "配送费（元）"
                }
            }
        },
        ".inventory.ExpressView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "name": {
                    "type": "string",
                    "description": "仓库名称"
                },
                "store_id": {
                    "type": "integer",
                    "description": "门店ID，存在时为门店仓，0时为总部仓"
                },
                "platforms": {
                    "type": "string",
                    "description": "配送平台名称（逗号拼接）"
                },
                "region_status": {
                    "type": "integer",
                    "description": "区域状态，0~未配置，1~已配置"
                }
            }
        },
        ".inventory.GetBomRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "page_no": {
                    "type": "integer",
                    "description": "页数"
                },
                "page_size": {
                    "type": "integer",
                    "description": "每页数量（不超过100）"
                },
                "is_configured": {
                    "type": "integer",
                    "description": "是否已配置：0~待配置，1~已配置"
                },
                "prod_nature": {
                    "type": "integer",
                    "description": "商品类型"
                },
                "query": {
                    "type": "string",
                    "description": "商品名称\u0026编码关键字"
                }
            },
            "required": [
                "page_no",
                "page_size"
            ]
        },
        ".inventory.GetBomResponse": {
            "type": "object",
            "properties": {
                "total": {
                    "type": "integer",
                    "description": "符合当前筛选条件下总商品数目(非规格数目)"
                },
                "prods": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.ProdBomView"
                    },
                    "description": "商品列表"
                }
            }
        },
        ".inventory.GetCityExpressPlatformReply": {
            "type": "object",
            "properties": {
                "platforms": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.WarehouseCityExpressPlatformView"
                    },
                    "description": "平台列表"
                }
            }
        },
        ".inventory.GetCityExpressRegionsResponse": {
            "type": "object",
            "properties": {
                "latitude": {
                    "type": "number",
                    "format": "double",
                    "description": "纬度 (门店仓不可修改)"
                },
                "longitude": {
                    "type": "number",
                    "format": "double",
                    "description": "经度 (门店仓不可修改)"
                },
                "regions": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.CityExpressRegionView"
                    },
                    "description": "区域列表"
                }
            }
        },
        ".inventory.GetCommonExpressPlatformsRequest": {
            "type": "object",
            "properties": {
                "deliver_type": {
                    "type": "integer",
                    "description": "配送模式1~同城，2~异地,oneof=1 2"
                }
            },
            "required": [
                "deliver_type"
            ]
        },
        ".inventory.GetExpressListReply": {
            "type": "object",
            "properties": {
                "warehouses": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.ExpressView"
                    },
                    "description": "总部/门店ID"
                },
                "total": {
                    "type": "integer",
                    "description": "总数量"
                }
            }
        },
        ".inventory.GetFinishedOrdersRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "page_no": {
                    "type": "integer",
                    "description": "页数"
                },
                "page_size": {
                    "type": "integer",
                    "description": "每页数量（不超过100）"
                },
                "start_date": {
                    "type": "string",
                    "description": "起始时间，格式YYYY-mm-dd"
                },
                "end_date": {
                    "type": "string",
                    "description": "截止时间，格式YYYY-mm-dd(跨度不超过1个月)"
                },
                "query_ext_order_number": {
                    "type": "string",
                    "description": "查询外部单号"
                },
                "query_status": {
                    "type": "integer",
                    "description": "查询状态：0\u0026不传~全部，21~已发货待签收，98~正向已完成（自提完成/收货完成），99~已取消,oneof=0 21 98 99"
                },
                "query_source": {
                    "type": "integer",
                    "description": "订单来源 0\u0026不传~全部,oneof=0 2 3"
                },
                "query_member_type": {
                    "type": "integer",
                    "description": "会员查询枚举"
                },
                "query_member_value": {
                    "type": "string",
                    "description": "下单人/手机号关键字"
                },
                "deliver_start_date": {
                    "type": "string",
                    "description": "发货起始时间，格式YYYY-mm-dd"
                },
                "deliver_end_date": {
                    "type": "string",
                    "description": "发货截止时间，格式YYYY-mm-dd(跨度不超过1个月)"
                },
                "query_extract_key": {
                    "type": "string",
                    "description": "取件码搜索(精确搜索)"
                }
            },
            "required": [
                "id",
                "page_no",
                "page_size",
                "start_date",
                "end_date"
            ]
        },
        ".inventory.GetInventoryInfoResponse": {
            "type": "object",
            "properties": {
                "order_number": {
                    "type": "string",
                    "description": "盘点订单号"
                },
                "status": {
                    "type": "integer",
                    "description": "盘点状态0~已取消，1~进行中，2~已生效"
                },
                "create_time": {
                    "type": "string",
                    "description": "盘点创建时间，格式YYYY-mm-dd HH:MM:SS"
                },
                "submit_time": {
                    "type": "string",
                    "description": "盘点提交时间，格式YYYY-mm-dd HH:MM:SS"
                },
                "warehouse_name": {
                    "type": "string",
                    "description": "仓库名称"
                },
                "submitter": {
                    "type": "string",
                    "description": "提交人姓名"
                },
                "data": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.InventoryInfo"
                    },
                    "description": "明细列表"
                }
            }
        },
        ".inventory.GetInventoryListRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "page_no": {
                    "type": "integer",
                    "description": "页数"
                },
                "page_size": {
                    "type": "integer",
                    "description": "每页数量（不超过100）"
                },
                "start_date": {
                    "type": "string",
                    "description": "查询盘点创建起始时间，格式YYYY-mm-dd"
                },
                "end_date": {
                    "type": "string",
                    "description": "查询盘点创建截止时间，格式YYYY-mm-dd(跨度不超过1个月)"
                },
                "query_order_number": {
                    "type": "string",
                    "description": "查询盘点单号"
                }
            },
            "required": [
                "id",
                "page_no",
                "page_size",
                "start_date",
                "end_date"
            ]
        },
        ".inventory.GetInventoryListResponse": {
            "type": "object",
            "properties": {
                "total": {
                    "type": "integer",
                    "description": "符合当前筛选条件下总数目"
                },
                "orders": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.InventoryListView"
                    },
                    "description": "列表"
                }
            }
        },
        ".inventory.GetLossListRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "page_no": {
                    "type": "integer",
                    "description": "页数"
                },
                "page_size": {
                    "type": "integer",
                    "description": "每页数量（不超过100）"
                },
                "start_date": {
                    "type": "string",
                    "description": "起始时间，格式YYYY-mm-dd"
                },
                "end_date": {
                    "type": "string",
                    "description": "截止时间，格式YYYY-mm-dd(跨度不超过1个月)"
                },
                "query_keywords": {
                    "type": "string",
                    "description": "查询关键字"
                }
            },
            "required": [
                "id",
                "page_no",
                "page_size",
                "start_date",
                "end_date"
            ]
        },
        ".inventory.GetLossListResponse": {
            "type": "object",
            "properties": {
                "total": {
                    "type": "integer",
                    "description": "符合当前筛选条件下总数目"
                },
                "details": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.LossView"
                    },
                    "description": "报损明细"
                }
            }
        },
        ".inventory.GetMaterialDetailResponse": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "物料ID"
                },
                "name": {
                    "type": "string",
                    "description": "物料名称"
                },
                "code": {
                    "type": "string",
                    "description": "物料编码"
                },
                "unit": {
                    "$ref": "#/definitions/.inventory.UnitView",
                    "description": "零售单位"
                },
                "purchase_unit": {
                    "$ref": "#/definitions/.inventory.UnitView",
                    "description": "采购单位"
                },
                "storage_unit": {
                    "$ref": "#/definitions/.inventory.UnitView",
                    "description": "库存单位"
                }
            },
            "required": [
                "id",
                "name",
                "unit",
                "purchase_unit",
                "storage_unit"
            ]
        },
        ".inventory.GetMaterialTypeResponse": {
            "type": "object",
            "properties": {
                "types": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.MaterialTypeView"
                    },
                    "description": "类别列表"
                }
            }
        },
        ".inventory.GetMaterialsResponse": {
            "type": "object",
            "properties": {
                "materials": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.MaterialView"
                    },
                    "description": "物料列表"
                }
            }
        },
        ".inventory.GetMonthSalesInfoRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "month": {
                    "type": "string",
                    "description": "月份 YYYY-mm"
                },
                "storage_key": {
                    "type": "string",
                    "description": "仓储关键字"
                }
            },
            "required": [
                "id",
                "month",
                "storage_key"
            ]
        },
        ".inventory.GetMonthSalesInfoResponse": {
            "type": "object",
            "properties": {
                "records": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.DailyRecordsView"
                    }
                }
            }
        },
        ".inventory.GetMonthSalesListRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "month": {
                    "type": "string",
                    "description": "月份 YYYY-mm"
                },
                "storage_type": {
                    "type": "integer",
                    "description": "仓储类型：不传\u00260~全部,oneof=0 1 2"
                }
            },
            "required": [
                "id",
                "month"
            ]
        },
        ".inventory.GetMonthSalesListResponse": {
            "type": "object",
            "properties": {
                "stats": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.MonthlyStatsView"
                    },
                    "description": "列表"
                },
                "summary": {
                    "$ref": "#/definitions/.inventory.SummaryView",
                    "description": "合计"
                }
            }
        },
        ".inventory.GetMultipleProdSkusReply": {
            "type": "object",
            "properties": {
                "prods": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.MultipleProductResp"
                    },
                    "description": "商品列表"
                }
            }
        },
        ".inventory.GetMultipleProdSkusRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "prods": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.MultipleProductQuery"
                    },
                    "description": "商品列表"
                },
                "type": {
                    "type": "integer",
                    "description": "返回格式类型：默认0~仅返回商品，1~对于包含物料的商品同时返回物料库存信息"
                }
            },
            "required": [
                "prods"
            ]
        },
        ".inventory.GetOrderInfoResponse": {
            "type": "object",
            "properties": {
                "order_number": {
                    "type": "string",
                    "description": "订单号"
                },
                "ext_order_number": {
                    "type": "string",
                    "description": "外部单号"
                },
                "status": {
                    "type": "integer",
                    "description": "订单状态: 10~待备货(已付款)，11~待自提，20~待发货 21~已发货待签收，98~正向已完成（自提完成/收货完成），99~已取消"
                },
                "deliver_status": {
                    "type": "string",
                    "description": "配送状态: 文字描述，比如：已呼叫顺丰配送"
                },
                "submit_time": {
                    "type": "string",
                    "description": "下单时间(等价于支付时间),格式YYYY-mm-dd HH:MM:SS"
                },
                "warehouse_name": {
                    "type": "string",
                    "description": "仓库名称"
                },
                "deliver_time": {
                    "type": "string",
                    "description": "发货时间,格式YYYY-mm-dd HH:MM:SS"
                },
                "source": {
                    "type": "integer",
                    "description": "订单来源"
                },
                "contact": {
                    "type": "string",
                    "description": "下单人/手机号关键字"
                },
                "expect_deliver_date": {
                    "type": "string",
                    "description": "预约时间，格式YYYY-mm-dd"
                },
                "address": {
                    "type": "string",
                    "description": "收货地址"
                },
                "remark": {
                    "type": "string",
                    "description": "大字段(包含用户留言memo，商家取消原因reason)"
                },
                "refund_flag": {
                    "type": "integer",
                    "description": "退款标签，0~无进行中的取消标志，1~有进行中的取消标志"
                },
                "notify_flag": {
                    "type": "boolean",
                    "description": "通知标记状态 false~未通知，true~已通知 （状态迁转后标记还原）"
                },
                "deliver_type": {
                    "type": "integer",
                    "description": "配送类型"
                },
                "prod_trans": {
                    "type": "integer",
                    "description": "订单总额(不含配送费)(单位：分)"
                },
                "expect_deliver_fee": {
                    "type": "integer",
                    "description": "预支配送费(单位：分)"
                },
                "platform_name": {
                    "type": "string",
                    "description": "配送平台名称"
                },
                "platform_order_number": {
                    "type": "string",
                    "description": "配送平台单号"
                },
                "extract_key": {
                    "type": "string",
                    "description": "取货码"
                },
                "details": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.ProcessOrderDetailView"
                    },
                    "description": "明细"
                },
                "prepare_time": {
                    "type": "string",
                    "description": "备货时间,格式YYYY-mm-dd HH:MM:SS"
                },
                "complete_time": {
                    "type": "string",
                    "description": "完成时间(用户确认收货/商城\u0026星团自动确认),格式YYYY-mm-dd HH:MM:SS"
                }
            }
        },
        ".inventory.GetOrdinaryRegionsReply": {
            "type": "object",
            "properties": {
                "platforms": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.PlatformView"
                    },
                    "description": "配送平台列表"
                },
                "regions": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.OrdinaryExpressRegionView"
                    },
                    "description": "区域列表"
                }
            }
        },
        ".inventory.GetPlatformsResponse": {
            "type": "object",
            "properties": {
                "platforms": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.PlatformView"
                    },
                    "description": "查看指定仓库配送平台列表"
                }
            }
        },
        ".inventory.GetProcessOrdersResponse": {
            "type": "object",
            "properties": {
                "total": {
                    "type": "integer",
                    "description": "符合当前筛选条件下总数目"
                },
                "orders": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.ProcessOrderView"
                    },
                    "description": "列表"
                }
            }
        },
        ".inventory.GetProcessingOrdersRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "page_no": {
                    "type": "integer",
                    "description": "页数"
                },
                "page_size": {
                    "type": "integer",
                    "description": "每页数量（不超过100）"
                },
                "start_date": {
                    "type": "string",
                    "description": "起始时间，格式YYYY-mm-dd"
                },
                "end_date": {
                    "type": "string",
                    "description": "截止时间，格式YYYY-mm-dd(跨度不超过1个月)"
                },
                "query_ext_order_number": {
                    "type": "string",
                    "description": "查询外部单号"
                },
                "query_status": {
                    "type": "integer",
                    "description": "查询状态：0\u0026不传~全部，10~待备货(已付款)，11~待自提，20~待发货,oneof=0 10 11 20"
                },
                "query_source": {
                    "type": "integer",
                    "description": "0\u0026不传~全部，2~商城订单，3~星团订单,oneof=0 2 3"
                },
                "query_member_type": {
                    "type": "integer",
                    "description": "会员查询枚举"
                },
                "query_member_value": {
                    "type": "string",
                    "description": "下单人/手机号关键字"
                },
                "expect_start_date": {
                    "type": "string",
                    "description": "预约起始时间，格式YYYY-mm-dd"
                },
                "expect_end_date": {
                    "type": "string",
                    "description": "预约截止时间，格式YYYY-mm-dd(跨度不超过1个月)"
                },
                "deliver_start_date": {
                    "type": "string",
                    "description": "发货起始时间，格式YYYY-mm-dd"
                },
                "deliver_end_date": {
                    "type": "string",
                    "description": "发货截止时间，格式YYYY-mm-dd(跨度不超过1个月)"
                },
                "query_extract_key": {
                    "type": "string",
                    "description": "取件码搜索(精确搜索)"
                }
            },
            "required": [
                "id",
                "page_no",
                "page_size",
                "start_date",
                "end_date"
            ]
        },
        ".inventory.GetProdStoragesRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken",
                    "description": "token"
                },
                "prod_ids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    },
                    "description": "商品ID列表"
                }
            },
            "description": "GetProductStoragesRequest .",
            "required": [
                "prod_ids"
            ]
        },
        ".inventory.GetProdStoragesResponse": {
            "type": "object",
            "properties": {
                "prods": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.ProdStorageView"
                    },
                    "description": "商品列表"
                }
            },
            "description": "GetProductStoragesResponse"
        },
        ".inventory.GetProdsRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.CustomerToken",
                    "description": "customerToken"
                },
                "warehouse_id": {
                    "type": "integer",
                    "description": "指定查询仓库 门店自营商品，不传, 总部商品 - 必传"
                },
                "store_id": {
                    "type": "integer",
                    "description": "指定查询门店仓 总部商品 - 不传 门店自营商品 - 必传"
                },
                "prods": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.SingleProdReq"
                    },
                    "description": "商品列表"
                }
            },
            "required": [
                "warehouse_id",
                "store_id",
                "prods"
            ]
        },
        ".inventory.GetProdsResponse": {
            "type": "object",
            "properties": {
                "prods": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.GetProdsView"
                    }
                }
            }
        },
        ".inventory.GetProdsView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "商品ID"
                },
                "sku_id": {
                    "type": "integer",
                    "description": "规格ID，无规格传0"
                },
                "storage": {
                    "type": "integer",
                    "description": "库存数量, -1，表示无限量；0~无库存，其他~库存实际数量"
                }
            },
            "required": [
                "id"
            ]
        },
        ".inventory.GetProductSkusRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken",
                    "description": "token"
                },
                "prod_id": {
                    "type": "integer",
                    "description": "商品ID"
                }
            },
            "description": "GetProductSkusRequest .",
            "required": [
                "prod_id"
            ]
        },
        ".inventory.GetProductSkusResponse": {
            "type": "object",
            "properties": {
                "Skus": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.SkuView"
                    },
                    "description": "规格数量分布"
                }
            },
            "description": "GetProductSkusResponse."
        },
        ".inventory.GetPurchaseInfoResponse": {
            "type": "object",
            "properties": {
                "order_number": {
                    "type": "string",
                    "description": "订单号"
                },
                "direction": {
                    "type": "integer",
                    "description": "1~采购入库，2~采购退货"
                },
                "warehouse_name": {
                    "type": "string",
                    "description": "仓库名称"
                },
                "creator": {
                    "type": "string",
                    "description": "创建人"
                },
                "detail_count": {
                    "type": "integer",
                    "description": "项数"
                },
                "memo": {
                    "type": "string",
                    "description": "订单备注"
                },
                "total": {
                    "type": "integer",
                    "description": "采购金额（单位:分）"
                },
                "data": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.PurchaseInfoView"
                    },
                    "description": "明细"
                }
            }
        },
        ".inventory.GetPurchaseListRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "page_no": {
                    "type": "integer",
                    "description": "页数"
                },
                "page_size": {
                    "type": "integer",
                    "description": "每页数量（不超过100）"
                },
                "start_date": {
                    "type": "string",
                    "description": "起始时间，格式YYYY-mm-dd"
                },
                "end_date": {
                    "type": "string",
                    "description": "截止时间，格式YYYY-mm-dd(跨度不超过1个月)"
                },
                "query_order_number": {
                    "type": "string",
                    "description": "查询单号"
                }
            },
            "required": [
                "id",
                "page_no",
                "page_size",
                "start_date",
                "end_date"
            ]
        },
        ".inventory.GetPurchaseListResponse": {
            "type": "object",
            "properties": {
                "total": {
                    "type": "integer",
                    "description": "符合当前筛选条件下总数目"
                },
                "orders": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.PurchaseOrderView"
                    },
                    "description": "报损明细"
                }
            }
        },
        ".inventory.GetRefundOrdersRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "page_no": {
                    "type": "integer",
                    "description": "页数"
                },
                "page_size": {
                    "type": "integer",
                    "description": "每页数量（不超过100）"
                },
                "start_date": {
                    "type": "string",
                    "description": "起始时间，格式YYYY-mm-dd"
                },
                "end_date": {
                    "type": "string",
                    "description": "截止时间，格式YYYY-mm-dd(跨度不超过1个月)"
                },
                "query_ext_order_number": {
                    "type": "string",
                    "description": "查询外部单号"
                },
                "query_status": {
                    "type": "integer",
                    "description": "查询状态：0\u0026不传~全部，31~已退货待接收，32~已拒绝接收，33~退货完成,oneof=0 31 32 33"
                },
                "query_source": {
                    "type": "integer",
                    "description": "订单来源 0\u0026不传~全部,oneof=0 2 3"
                },
                "query_refund_order_number": {
                    "type": "string",
                    "description": "查询退货单号"
                }
            },
            "required": [
                "id",
                "page_no",
                "page_size",
                "start_date",
                "end_date"
            ]
        },
        ".inventory.GetRefundProcessOrderInfoResponse": {
            "type": "object",
            "properties": {
                "order_number": {
                    "type": "string",
                    "description": "退货订单号"
                },
                "ext_order_number": {
                    "type": "string",
                    "description": "外部单号"
                },
                "status": {
                    "type": "integer",
                    "description": "订单状态: 10~待备货(已付款)，11~待自提，20~待发货 21~已发货待签收，98~正向已完成（自提完成/收货完成），99~已取消"
                },
                "deliver_status": {
                    "type": "string",
                    "description": "配送状态: 文字描述，比如：已呼叫顺丰配送"
                },
                "submit_time": {
                    "type": "string",
                    "description": "下单时间,格式YYYY-mm-dd HH:MM:SS"
                },
                "warehouse_name": {
                    "type": "string",
                    "description": "仓库名称"
                },
                "source": {
                    "type": "integer",
                    "description": "订单来源"
                },
                "contact": {
                    "type": "string",
                    "description": "下单人/手机号关键字"
                },
                "memo": {
                    "type": "string",
                    "description": "退货订单备注"
                },
                "reason": {
                    "type": "string",
                    "description": "拒绝原因"
                },
                "deliver_type": {
                    "type": "integer",
                    "description": "配送类型"
                },
                "platform_name": {
                    "type": "string",
                    "description": "配送平台名称"
                },
                "platform_order_number": {
                    "type": "string",
                    "description": "配送平台单号"
                },
                "prod_trans": {
                    "type": "integer",
                    "description": "退货金额(单位：分)"
                },
                "prod_count": {
                    "type": "integer",
                    "description": "退货商品数量"
                },
                "details": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.ProcessOrderDetailView"
                    },
                    "description": "明细"
                },
                "complete_time": {
                    "type": "string",
                    "description": "完成时间(商家确认/拒绝)，格式YYYY-mm-dd HH:MM:SS"
                }
            }
        },
        ".inventory.GetRefundProcessOrdersResponse": {
            "type": "object",
            "properties": {
                "total": {
                    "type": "integer",
                    "description": "符合当前筛选条件下总数目"
                },
                "orders": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.RefundProcessOrderView"
                    },
                    "description": "列表"
                }
            }
        },
        ".inventory.GetScheduleInRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "page_no": {
                    "type": "integer",
                    "description": "页数"
                },
                "page_size": {
                    "type": "integer",
                    "description": "每页数量（不超过100）"
                },
                "start_date": {
                    "type": "string",
                    "description": "起始时间，格式YYYY-mm-dd"
                },
                "end_date": {
                    "type": "string",
                    "description": "截止时间，格式YYYY-mm-dd(跨度不超过1个月)"
                },
                "query_order_number": {
                    "type": "string",
                    "description": "查询单号"
                },
                "status": {
                    "type": "integer",
                    "description": "查询状态：0\u0026不传~全部，1~订单创建（待审核），2~订单已审核（已调出），3~订单已入库，4~订单已拒绝,oneof=0 1 2 3 4"
                },
                "out_warehouse_id": {
                    "type": "integer",
                    "description": "调出仓库ID，选传非空"
                }
            },
            "required": [
                "id",
                "page_no",
                "page_size",
                "start_date",
                "end_date"
            ]
        },
        ".inventory.GetScheduleInResponse": {
            "type": "object",
            "properties": {
                "total": {
                    "type": "integer",
                    "description": "符合当前筛选条件下总数目"
                },
                "orders": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.ScheduleInView"
                    },
                    "description": "列表"
                }
            }
        },
        ".inventory.GetScheduleInfoResponse": {
            "type": "object",
            "properties": {
                "order_number": {
                    "type": "string",
                    "description": "订单号"
                },
                "in_warehouse_name": {
                    "type": "string",
                    "description": "调入仓库名称"
                },
                "out_warehouse_name": {
                    "type": "string",
                    "description": "发货仓库名称"
                },
                "apply_time": {
                    "type": "string",
                    "description": "申请时间,格式YYYY-mm-dd HH:MM:SS"
                },
                "send_time": {
                    "type": "string",
                    "description": "调出时间,格式YYYY-mm-dd HH:MM:SS"
                },
                "receive_time": {
                    "type": "string",
                    "description": "入库时间,格式YYYY-mm-dd HH:MM:SS"
                },
                "applier": {
                    "type": "string",
                    "description": "申请人"
                },
                "reviewer": {
                    "type": "string",
                    "description": "审核人"
                },
                "receiver": {
                    "type": "string",
                    "description": "入库人"
                },
                "detail_count": {
                    "type": "integer",
                    "description": "项数"
                },
                "status": {
                    "type": "integer",
                    "description": "状态：1~订单创建（待审核），2~订单已审核（已调出），3~订单已入库，4~订单已拒绝"
                },
                "data": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.ScheduleInfoView"
                    },
                    "description": "明细"
                }
            }
        },
        ".inventory.GetScheduleOutRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "page_no": {
                    "type": "integer",
                    "description": "页数"
                },
                "page_size": {
                    "type": "integer",
                    "description": "每页数量（不超过100）"
                },
                "start_date": {
                    "type": "string",
                    "description": "起始时间，格式YYYY-mm-dd"
                },
                "end_date": {
                    "type": "string",
                    "description": "截止时间，格式YYYY-mm-dd(跨度不超过1个月)"
                },
                "query_order_number": {
                    "type": "string",
                    "description": "查询单号"
                },
                "status": {
                    "type": "integer",
                    "description": "查询状态：0\u0026不传~全部，1~订单创建（待审核），2~订单已审核（已调出），3~订单已入库，4~订单已拒绝,oneof=0 1 2 3 4"
                },
                "in_warehouse_id": {
                    "type": "integer",
                    "description": "调入仓库ID，选传非空"
                }
            },
            "required": [
                "id",
                "page_no",
                "page_size",
                "start_date",
                "end_date"
            ]
        },
        ".inventory.GetScheduleOutResponse": {
            "type": "object",
            "properties": {
                "total": {
                    "type": "integer",
                    "description": "符合当前筛选条件下总数目"
                },
                "orders": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.ScheduleOutView"
                    },
                    "description": "列表"
                }
            }
        },
        ".inventory.GetSelectionInventoryKey": {
            "type": "object",
            "properties": {
                "storage_key": {
                    "type": "string",
                    "description": "仓储关键字： prod_id-sku_id"
                },
                "storage_name": {
                    "type": "string",
                    "description": "仓储对象名称，商品名称\u0026产品名称"
                },
                "sku_name": {
                    "type": "string",
                    "description": "仓储规格名称(仅商品时返回)"
                },
                "code": {
                    "type": "string",
                    "description": "仓储对象编码"
                },
                "unit": {
                    "type": "string",
                    "description": "零售单位名称"
                },
                "storage_unit": {
                    "type": "string",
                    "description": "库存单位名称"
                },
                "storage_ratio": {
                    "type": "number",
                    "format": "double",
                    "description": "库存/零售单位换算关系"
                },
                "purchase_unit": {
                    "type": "string",
                    "description": "采购单位名称"
                },
                "purchase_ratio": {
                    "type": "number",
                    "format": "double",
                    "description": "采购/零售单位换算关系"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                }
            }
        },
        ".inventory.GetSelectionInventoryType": {
            "type": "object",
            "properties": {
                "type_name": {
                    "type": "string",
                    "description": "类别名称"
                },
                "keys": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.GetSelectionInventoryKey"
                    },
                    "description": "可选产品/商品列表"
                }
            }
        },
        ".inventory.GetSelectionObjectRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "page_no": {
                    "type": "integer",
                    "description": "页数"
                },
                "page_size": {
                    "type": "integer",
                    "description": "每页数量（不超过100）"
                },
                "storage_type": {
                    "type": "integer",
                    "description": "仓储类别,oneof=1 2"
                },
                "warehouse_id": {
                    "type": "integer",
                    "description": "仓库ID仓库ID,选传，传入则限定仅仓库存在商品/产品 （调入仓，损耗仓）"
                },
                "is_configured": {
                    "type": "integer",
                    "description": "是否配置bom，0~未配置，1~已配置，2~全部 商品模式必传该参数，用于筛选（盘点\u0026采购\u0026调拨限定传0，报损限定传2，1为预留）,oneof=0 1 2"
                },
                "query": {
                    "type": "string",
                    "description": "关键字"
                },
                "fetch_mode": {
                    "type": "integer",
                    "description": "仅获取总部/门店商品: 0~品牌下\u0026仓库内商品合集（采购， 调拨，盘点，损耗）；1~跟随总部门店属性，仅获取模式下商品（bom配置）,oneof=0 1"
                },
                "fetch_store_id": {
                    "type": "integer",
                    "description": "仅获取指定门店"
                }
            },
            "required": [
                "page_no",
                "page_size",
                "storage_type",
                "is_configured"
            ]
        },
        ".inventory.GetSelectionObjectResponse": {
            "type": "object",
            "properties": {
                "total": {
                    "type": "integer",
                    "description": "符合当前筛选条件下总商品数目(非规格数目)"
                },
                "data": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.GetSelectionInventoryType"
                    },
                    "description": "仓储库存数量列表"
                }
            }
        },
        ".inventory.GetSelectionWarehouseRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "模式~总部/门店ID"
                },
                "return_all": {
                    "type": "boolean",
                    "description": "是否需要无视当前模式返回全量仓库（门店模式调拨 \u0026 总部模式下拉框等等）"
                }
            }
        },
        ".inventory.GetSelectionWarehouseResponse": {
            "type": "object",
            "properties": {
                "warehouses": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.SimpleWarehouseView"
                    },
                    "description": "仓库列表"
                }
            }
        },
        ".inventory.GetSelectionWarehouseStorageTypesRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "type": {
                    "type": "integer",
                    "description": "仓储类别：1~产品(物料)，2~商品,oneof=1 2"
                }
            },
            "required": [
                "id",
                "type"
            ]
        },
        ".inventory.GetSelectionWarehouseStorageTypesResponse": {
            "type": "object",
            "properties": {
                "types": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.WarehouseStorageType"
                    },
                    "description": "类别列表"
                }
            }
        },
        ".inventory.GetUnitsResponse": {
            "type": "object",
            "properties": {
                "units": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.UnitView"
                    }
                }
            }
        },
        ".inventory.GetWarehouseExpressPlatformsRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "deliver_type": {
                    "type": "integer",
                    "description": "配送模式1~同城，2~异地,oneof=1 2"
                }
            },
            "required": [
                "id",
                "deliver_type"
            ]
        },
        ".inventory.GetWarehouseListReply": {
            "type": "object",
            "properties": {
                "total": {
                    "type": "integer",
                    "description": "总仓库数量"
                },
                "warehouses": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.WarehouseView"
                    },
                    "description": "仓库列表"
                }
            }
        },
        ".inventory.GetWarehouseListRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "page_no": {
                    "type": "integer",
                    "description": "页数"
                },
                "page_size": {
                    "type": "integer",
                    "description": "每页数量（不超过100）"
                }
            },
            "required": [
                "page_no",
                "page_size"
            ]
        },
        ".inventory.GetWarehouseStorageRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "query_type": {
                    "type": "integer",
                    "description": "查询仓储类别：0~全部，1~产品(物料)，2~商品"
                },
                "query_type_id": {
                    "type": "integer",
                    "description": "查询仓储类别所选ID(query_type必须同时不能为0)"
                },
                "query_keyword": {
                    "type": "string",
                    "description": "产品/物料名称、 编码 关键字"
                },
                "query_storage_keys": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "选定商品/产品列表(用于采购等下单页展示当前库存量)"
                },
                "page_no": {
                    "type": "integer",
                    "description": "页数"
                },
                "page_size": {
                    "type": "integer",
                    "description": "每页数量（不超过100）"
                }
            },
            "required": [
                "id",
                "page_no",
                "page_size"
            ]
        },
        ".inventory.GetWarehouseStorageResponse": {
            "type": "object",
            "properties": {
                "total": {
                    "type": "integer",
                    "description": "符合当前筛选条件下总商品数目(非规格数目)"
                },
                "data": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.WarehouseStorageView"
                    },
                    "description": "仓储库存数量列表"
                }
            }
        },
        ".inventory.GetWarehouseStoresRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.CustomerToken",
                    "description": "customerToken"
                },
                "store_ids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    },
                    "description": "门店ID序列,min=1"
                },
                "lat": {
                    "type": "number",
                    "format": "double",
                    "description": "纬度（依赖用户所选收货地址位置 / 自动识别用户当前位置）,latitude"
                },
                "lng": {
                    "type": "number",
                    "format": "double",
                    "description": "经度（依赖用户所选收货地址位置 / 自动识别用户当前位置）,longitude"
                },
                "city_code": {
                    "type": "integer",
                    "description": "城市编码"
                },
                "hq_match": {
                    "type": "boolean",
                    "description": "是否包含额外进行总部仓匹配并插入在列表序列头部，匹配不到时列表不返回总部仓"
                }
            },
            "required": [
                "store_ids",
                "city_code"
            ]
        },
        ".inventory.GetWarehouseStoresResponse": {
            "type": "object",
            "properties": {
                "stores": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.StoreView"
                    },
                    "description": "门店列表，无匹配是为空列表"
                }
            }
        },
        ".inventory.InventoryInfo": {
            "type": "object",
            "properties": {
                "storage_type": {
                    "type": "integer",
                    "description": "仓储类别"
                },
                "storage_key": {
                    "type": "string",
                    "description": "仓储对象key(商品prod_id-sku_id, 产品m-material_id，加料f-feed_id)"
                },
                "input_quantity": {
                    "type": "number",
                    "format": "double",
                    "description": "提交\u0026草稿数量（基于零售单位）"
                },
                "storage_quantity": {
                    "type": "number",
                    "format": "double",
                    "description": "理论库存数量（基于零售单位）"
                },
                "diff_quantity": {
                    "type": "number",
                    "format": "double",
                    "description": "差额数量（基于零售单位）"
                },
                "remark": {
                    "type": "string",
                    "description": "仓储对象大字段（包含商品名称name、规格名称sku_name，类别type_name、单位unit、换算单位storage_unit\u0026storage_ratio、明细备注memo等）"
                }
            }
        },
        ".inventory.InventoryLine": {
            "type": "object",
            "properties": {
                "storage_type": {
                    "type": "integer",
                    "description": "仓储类别"
                },
                "storage_key": {
                    "type": "string",
                    "description": "仓储对象key(商品prod_id-sku_id, 产品m-material_id，加料f-feed_id)"
                },
                "input_quantity": {
                    "type": "number",
                    "format": "double",
                    "description": "提交\u0026草稿数量（基于零售单位）"
                }
            }
        },
        ".inventory.InventoryListView": {
            "type": "object",
            "properties": {
                "order_number": {
                    "type": "string",
                    "description": "订单号"
                },
                "create_time": {
                    "type": "string",
                    "description": "创建时间，格式YYYY-mm-dd HH:MM:SS"
                },
                "submit_time": {
                    "type": "string",
                    "description": "提交时间，格式YYYY-mm-dd HH:MM:SS"
                },
                "detail_count": {
                    "type": "integer",
                    "description": "项数"
                },
                "status": {
                    "type": "integer",
                    "description": "盘点状态0~已取消，1~进行中，2~已生效"
                }
            }
        },
        ".inventory.LossLine": {
            "type": "object",
            "properties": {
                "storage_type": {
                    "type": "integer",
                    "description": "仓储类别"
                },
                "storage_key": {
                    "type": "string",
                    "description": "仓储对象key(商品prod_id-sku_id, 产品m-material_id，加料f-feed_id)"
                },
                "quantity": {
                    "type": "number",
                    "format": "double",
                    "description": "提交数量（基于零售单位）"
                },
                "memo": {
                    "type": "string",
                    "description": "报损原因"
                }
            }
        },
        ".inventory.LossView": {
            "type": "object",
            "properties": {
                "storage_type": {
                    "type": "integer",
                    "description": "仓储类别"
                },
                "storage_key": {
                    "type": "string",
                    "description": "仓储对象key(商品prod_id-sku_id, 产品m-material_id，加料f-feed_id)"
                },
                "quantity": {
                    "type": "number",
                    "format": "double",
                    "description": "提交数量（基于零售单位）"
                },
                "remark": {
                    "type": "string",
                    "description": "仓储对象大字段（包含商品名称name、规格名称sku_name，类别type_name、单位unit、换算单位storage_unit\u0026storage_ratio、报损备注memo等）"
                },
                "sub": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.SubLossView"
                    },
                    "description": "子明细列表(基于有bom的商品报损，存在子明细)"
                },
                "create_time": {
                    "type": "string",
                    "description": "创建时间,格式YYYY-mm-dd HH:MM:SS"
                }
            }
        },
        ".inventory.MatchSkuRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.CustomerToken",
                    "description": "customerToken"
                },
                "lat": {
                    "type": "number",
                    "format": "double",
                    "description": "纬度（依赖用户所选收货地址位置 / 自动识别用户当前位置）,min=-90,max=90"
                },
                "lng": {
                    "type": "number",
                    "format": "double",
                    "description": "经度（依赖用户所选收货地址位置 / 自动识别用户当前位置）,min=-180,max=180"
                },
                "city_code": {
                    "type": "integer",
                    "description": "城市编码"
                },
                "prod_id": {
                    "type": "integer",
                    "description": "商品ID"
                },
                "sku_id": {
                    "type": "integer",
                    "description": "规格ID，无规格传0"
                },
                "delivery_type": {
                    "type": "integer",
                    "description": "配送模式"
                }
            },
            "required": [
                "city_code",
                "prod_id"
            ]
        },
        ".inventory.MatchSkuResponse": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "最近可配送仓库ID, 没有匹配仓库时返回0"
                },
                "store_id": {
                    "type": "integer",
                    "description": "如果为门店仓，这里为门店ID，否则为0"
                },
                "name": {
                    "type": "string",
                    "description": "仓库名称"
                },
                "address": {
                    "type": "string",
                    "description": "仓库地址"
                },
                "distance": {
                    "type": "number",
                    "format": "double",
                    "description": "与用户所选位置距离，单位千米"
                },
                "storage": {
                    "type": "integer",
                    "description": "仓库库存(零售单位)（无限量的仓库目前不支持返回，仅返回有数量的仓库）"
                },
                "deadline_time": {
                    "type": "string",
                    "description": "同城/自提当日模式截止接单时间: 格式为\"HH:MM:SS\""
                },
                "city_regions": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.ExpressRegionView"
                    },
                    "description": "同城配置多个配送区域匹配列表"
                },
                "ordinary_express_config": {
                    "$ref": "#/definitions/.inventory.OrdinaryExpressConfig",
                    "description": "普快配置匹配对象"
                }
            }
        },
        ".inventory.MatchWarehouseRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.CustomerToken",
                    "description": "customerToken"
                },
                "lat": {
                    "type": "number",
                    "format": "double",
                    "description": "纬度（依赖用户所选收货地址位置 / 自动识别用户当前位置）,latitude"
                },
                "lng": {
                    "type": "number",
                    "format": "double",
                    "description": "经度（依赖用户所选收货地址位置 / 自动识别用户当前位置）,longitude"
                },
                "city_code": {
                    "type": "integer",
                    "description": "城市编码"
                },
                "store_id": {
                    "type": "integer",
                    "description": "是否匹配指定门店仓（不指定时默认返回最近的总部仓）"
                },
                "deliver_type": {
                    "type": "integer",
                    "description": "配送模式(用户未选择时，可以传无需配送（会匹配物理意义上最近的）)"
                }
            },
            "required": [
                "city_code"
            ]
        },
        ".inventory.MatchWarehouseResponse": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "最近可配送仓库ID, 没有匹配仓库时返回0"
                },
                "store_id": {
                    "type": "integer",
                    "description": "如果为门店仓，这里为门店ID，否则为0"
                },
                "name": {
                    "type": "string",
                    "description": "最近仓库名称(门店名称) 没有匹配仓库时返回空字符"
                },
                "address": {
                    "type": "string",
                    "description": "仓库地址"
                },
                "distance": {
                    "type": "number",
                    "format": "double",
                    "description": "与用户所选位置距离，单位千米"
                },
                "pick_up": {
                    "type": "boolean",
                    "description": "同城时，返回仓库是否支持自提；不同城时，返回false"
                },
                "city_express": {
                    "type": "boolean",
                    "description": "是否支持同城实时配送，同城且在范围内返回true，否则为false"
                },
                "ordinary_express": {
                    "type": "boolean",
                    "description": "是否支持普通快递"
                },
                "dead_line_time": {
                    "type": "string",
                    "description": "截止接单时间: 格式为\"HH:MM:SS\""
                },
                "city_regions": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.ExpressRegionView"
                    },
                    "description": "同城配置多个配送区域匹配列表"
                },
                "ordinary_express_config": {
                    "$ref": "#/definitions/.inventory.OrdinaryExpressConfig",
                    "description": "普快配置匹配对象"
                }
            }
        },
        ".inventory.MaterialTypeView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "类别ID"
                },
                "name": {
                    "type": "string",
                    "description": "类别名称"
                },
                "code": {
                    "type": "string",
                    "description": "类别编码"
                },
                "subs": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.MaterialTypeView"
                    },
                    "description": "子类列表"
                }
            }
        },
        ".inventory.MaterialView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "物料ID"
                },
                "name": {
                    "type": "string",
                    "description": "物料名称"
                },
                "code": {
                    "type": "string",
                    "description": "物料编码"
                },
                "type_id": {
                    "type": "integer",
                    "description": "物料类别ID"
                }
            }
        },
        ".inventory.MonthlyStatsView": {
            "type": "object",
            "properties": {
                "storage_name": {
                    "type": "string",
                    "description": "商品/产品名称"
                },
                "sku_name": {
                    "type": "string",
                    "description": "规格名称"
                },
                "storage_key": {
                    "type": "string",
                    "description": "仓储对象关键字"
                },
                "storage_type": {
                    "type": "integer",
                    "description": "仓储类型"
                },
                "start_amount": {
                    "type": "integer",
                    "description": "期初金额(单位：元)"
                },
                "purchase_amount": {
                    "type": "integer",
                    "description": "采购金额(单位：元)"
                },
                "schedule_amount": {
                    "type": "integer",
                    "description": "调拨金额(单位：元)"
                },
                "cost_amount": {
                    "type": "integer",
                    "description": "成本金额(单位：元)"
                },
                "end_amount": {
                    "type": "integer",
                    "description": "期末金额(单位：元)"
                }
            }
        },
        ".inventory.MultipleMaterialResp": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "name": {
                    "type": "string",
                    "description": "物料名称"
                },
                "unit": {
                    "type": "string",
                    "description": "物料单位"
                },
                "code": {
                    "type": "string",
                    "description": "物料编码"
                },
                "storage": {
                    "$ref": "#/definitions/.google.protobuf.DoubleValue",
                    "description": "无限量时库存数量"
                },
                "ref_quantity": {
                    "type": "number",
                    "format": "double",
                    "description": "相对主商品数量"
                }
            }
        },
        ".inventory.MultipleProductQuery": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "prod_id": {
                    "type": "integer",
                    "description": "商品ID"
                },
                "sku_id": {
                    "type": "integer",
                    "description": "规格ID"
                }
            },
            "required": [
                "id",
                "prod_id",
                "sku_id"
            ]
        },
        ".inventory.MultipleProductResp": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "prod_id": {
                    "type": "integer",
                    "description": "商品ID"
                },
                "sku_id": {
                    "type": "integer",
                    "description": "规格ID"
                },
                "storage": {
                    "$ref": "#/definitions/.google.protobuf.DoubleValue",
                    "description": "库存数量"
                },
                "subs": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.MultipleMaterialResp"
                    },
                    "description": "物料对应数量"
                }
            }
        },
        ".inventory.OrdinaryExpressConfig": {
            "type": "object",
            "properties": {
                "first": {
                    "type": "integer",
                    "description": "首重费用（元/kg）"
                },
                "additional": {
                    "type": "integer",
                    "description": "续重费用（元/kg）"
                }
            }
        },
        ".inventory.OrdinaryExpressRegionView": {
            "type": "object",
            "properties": {
                "first_weight_price": {
                    "type": "integer",
                    "description": "首重费用（元/kg）"
                },
                "additional_weight_price": {
                    "type": "integer",
                    "description": "续重费用（元/kg）"
                },
                "cities": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    },
                    "description": "城市编码列表"
                }
            }
        },
        ".inventory.PlatformView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "平台ID"
                },
                "name": {
                    "type": "string",
                    "description": "平台名称"
                }
            }
        },
        ".inventory.ProcessOrderDetailView": {
            "type": "object",
            "properties": {
                "storage_key": {
                    "type": "string",
                    "description": "仓储关键字： prod_id-sku_id"
                },
                "quantity": {
                    "type": "number",
                    "format": "double",
                    "description": "提交数量（基于零售单位）"
                },
                "price": {
                    "type": "integer",
                    "description": "零售价格（单位:分）"
                },
                "storage_quantity": {
                    "$ref": "#/definitions/.google.protobuf.DoubleValue",
                    "description": "当前库存数量（含冻结部分）已完成\u0026无限量返回null"
                },
                "name": {
                    "type": "string",
                    "description": "仓储商品名称"
                },
                "code": {
                    "type": "string",
                    "description": "仓储对象编码"
                },
                "type_name": {
                    "type": "string",
                    "description": "分类名称"
                },
                "unit": {
                    "type": "string",
                    "description": "零售单位名称"
                },
                "amount": {
                    "type": "integer",
                    "description": "总金额(单位：分)"
                },
                "status": {
                    "type": "integer",
                    "description": "明细状态（返回订单状态）"
                },
                "subs": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.ProcessOrderDetailView"
                    },
                    "description": "配置bom的物料列表"
                },
                "sku_name": {
                    "type": "string",
                    "description": "仓储规格名称"
                }
            }
        },
        ".inventory.ProcessOrderView": {
            "type": "object",
            "properties": {
                "order_number": {
                    "type": "string",
                    "description": "订单号"
                },
                "ext_order_number": {
                    "type": "string",
                    "description": "外部单号"
                },
                "source": {
                    "type": "integer",
                    "description": "订单来源: 2~商城订单，3~星团订单"
                },
                "contact": {
                    "type": "string",
                    "description": "下单人/手机号关键字"
                },
                "address": {
                    "type": "string",
                    "description": "收货地址"
                },
                "submit_time": {
                    "type": "string",
                    "description": "下单时间,格式YYYY-mm-dd HH:MM:SS"
                },
                "prod_count": {
                    "type": "integer",
                    "description": "商品个数"
                },
                "status": {
                    "type": "integer",
                    "description": "订单状态: 10~待备货(已付款)，11~待自提，20~待发货 21~已发货待签收，98~正向已完成（自提完成/收货完成），99~已取消"
                },
                "storage_status": {
                    "type": "integer",
                    "description": "库存状态，0~充足，1~不足"
                },
                "total": {
                    "type": "integer",
                    "description": "订单金额(单位：分)=prod_trans + expect_deliver_fee"
                },
                "expect_deliver_date": {
                    "type": "string",
                    "description": "预约时间，格式YYYY-mm-dd"
                },
                "deliver_time": {
                    "type": "string",
                    "description": "发货时间，格式YYYY-mm-dd"
                }
            }
        },
        ".inventory.ProdBomView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "商品ID"
                },
                "name": {
                    "type": "string",
                    "description": "商品名称"
                },
                "prod_nature": {
                    "type": "integer",
                    "description": "商品类型"
                },
                "type_name": {
                    "type": "string",
                    "description": "商品类别名称"
                },
                "unit": {
                    "type": "string",
                    "description": "商品单位名称"
                },
                "skus": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.BomSkuView"
                    },
                    "description": "规格列表"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                }
            }
        },
        ".inventory.ProdStorageView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "商品ID"
                },
                "storage": {
                    "type": "integer",
                    "description": "商品库存"
                },
                "unit": {
                    "type": "string",
                    "description": "商品单位"
                },
                "warehouses": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "分布仓库列表"
                }
            },
            "description": "ProductStorageView"
        },
        ".inventory.PurchaseInfoView": {
            "type": "object",
            "properties": {
                "storage_type": {
                    "type": "integer",
                    "description": "仓储类别"
                },
                "storage_key": {
                    "type": "string",
                    "description": "仓储对象key(商品prod_id-sku_id, 产品m-material_id，加料f-feed_id)"
                },
                "remark": {
                    "type": "string",
                    "description": "快照信息（包含商品名称name、规格名称sku_name，类别type_name、单位unit、换算单位purchase_unit\u0026purchase_ratio、明细备注memo等）"
                },
                "init_quantity": {
                    "type": "number",
                    "format": "double",
                    "description": "提交数量（基于零售单位）"
                },
                "refunded_quantity": {
                    "type": "number",
                    "format": "double",
                    "description": "已退数量(仅采购入库单返回)"
                },
                "current_quantity": {
                    "type": "number",
                    "format": "double",
                    "description": "当前库存数量（含冻结部分）"
                },
                "freeze_quantity": {
                    "type": "number",
                    "format": "double",
                    "description": "当前冻结中库存数量 (仅采购入库单返回，用于计算可退)"
                },
                "init_amount": {
                    "type": "integer",
                    "description": "采购金额(不扣减退款)(单位：分)"
                },
                "refunded_amount": {
                    "type": "integer",
                    "description": "采购累计退货金额（单位：分）"
                }
            }
        },
        ".inventory.PurchaseLine": {
            "type": "object",
            "properties": {
                "storage_type": {
                    "type": "integer",
                    "description": "仓储类别"
                },
                "storage_key": {
                    "type": "string",
                    "description": "仓储对象key(商品prod_id-sku_id, 产品m-material_id，加料f-feed_id)"
                },
                "quantity": {
                    "type": "number",
                    "format": "double",
                    "description": "数量（基于零售单位）"
                },
                "price": {
                    "type": "integer",
                    "description": "采购单价(单位：分)"
                }
            }
        },
        ".inventory.PurchaseOrderView": {
            "type": "object",
            "properties": {
                "order_number": {
                    "type": "string",
                    "description": "订单号"
                },
                "create_time": {
                    "type": "string",
                    "description": "创建时间,格式YYYY-mm-dd HH:MM:SS"
                },
                "detail_count": {
                    "type": "integer",
                    "description": "项数"
                },
                "direction": {
                    "type": "integer",
                    "description": "1~采购入库，2~采购退货"
                },
                "memo": {
                    "type": "string",
                    "description": "订单备注"
                },
                "total": {
                    "type": "integer",
                    "description": "采购金额（单位:分）"
                }
            }
        },
        ".inventory.PurchaseRefundLine": {
            "type": "object",
            "properties": {
                "storage_type": {
                    "type": "integer",
                    "description": "仓储类别"
                },
                "storage_key": {
                    "type": "string",
                    "description": "仓储对象key(商品prod_id-sku_id, 产品m-material_id，加料f-feed_id)"
                },
                "quantity": {
                    "type": "number",
                    "format": "double",
                    "description": "数量（基于零售单位）"
                },
                "price": {
                    "type": "integer",
                    "description": "采购单价(单位：分)"
                },
                "index": {
                    "type": "integer",
                    "description": "采购单明细序号 (在采购单明细列表中的序号，会核对校验)"
                }
            }
        },
        ".inventory.ReceiveScheduleRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "order_number": {
                    "type": "string",
                    "description": "订单号"
                },
                "details": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.ScheduleLine"
                    },
                    "description": "明细"
                }
            },
            "required": [
                "id",
                "order_number",
                "details"
            ]
        },
        ".inventory.RefundProcessOrderView": {
            "type": "object",
            "properties": {
                "order_number": {
                    "type": "string",
                    "description": "外部订单号"
                },
                "refund_order_number": {
                    "type": "string",
                    "description": "退货单号"
                },
                "source": {
                    "type": "integer",
                    "description": "订单来源: 2~商城订单，3~星团订单"
                },
                "submit_time": {
                    "type": "string",
                    "description": "下单时间,格式YYYY-mm-dd HH:MM:SS"
                },
                "platform_name": {
                    "type": "string",
                    "description": "配送平台名称"
                },
                "platform_order_number": {
                    "type": "string",
                    "description": "配送平台单号"
                },
                "refund_prod_count": {
                    "type": "integer",
                    "description": "退货商品数量"
                },
                "refund_amount": {
                    "type": "integer",
                    "description": "退款金额(单位：分)"
                },
                "deliver_time": {
                    "type": "string",
                    "description": "发货时间，格式YYYY-mm-dd"
                },
                "status": {
                    "type": "integer",
                    "description": "订单状态"
                },
                "reason": {
                    "type": "string",
                    "description": "拒绝原因"
                },
                "complete_time": {
                    "type": "string",
                    "description": "完成时间(商家确认/拒绝)，格式YYYY-mm-dd HH:MM:SS"
                }
            }
        },
        ".inventory.RejectRefundProcessRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "order_number": {
                    "type": "string",
                    "description": "订单号"
                },
                "reason": {
                    "type": "string",
                    "description": "拒绝原因"
                }
            },
            "required": [
                "id",
                "order_number",
                "reason"
            ]
        },
        ".inventory.ReviewScheduleLine": {
            "type": "object",
            "properties": {
                "storage_type": {
                    "type": "integer",
                    "description": "仓储类别"
                },
                "storage_key": {
                    "type": "string",
                    "description": "仓储对象key(商品prod_id-sku_id, 产品m-material_id，加料f-feed_id)"
                },
                "quantity": {
                    "type": "number",
                    "format": "double",
                    "description": "数量（基于零售单位）"
                },
                "price": {
                    "type": "integer",
                    "description": "调拨单价(单位：元)"
                }
            }
        },
        ".inventory.ReviewScheduleRequest": {
            "type": "object",
            "properties": {
                "-": {
                    "$ref": "#/definitions/.inventory.WebToken"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "order_number": {
                    "type": "string",
                    "description": "订单号"
                },
                "status": {
                    "type": "integer",
                    "description": "审核状态1~接受，0~拒绝,oneof=0 1"
                },
                "details": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.ReviewScheduleLine"
                    },
                    "description": "明细"
                }
            },
            "required": [
                "id",
                "order_number"
            ]
        },
        ".inventory.SFNotifyRequest": {
            "type": "object",
            "properties": {
                "sf_order_id": {
                    "type": "string",
                    "description": "顺丰订单ID"
                },
                "shop_order_id": {
                    "type": "string",
                    "description": "商家订单ID"
                },
                "url_index": {
                    "type": "string",
                    "description": "回调URL前缀"
                },
                "operator_name": {
                    "type": "string",
                    "description": "配送员姓名"
                },
                "operator_phone": {
                    "type": "string",
                    "description": "配送员电话"
                },
                "order_status": {
                    "type": "integer",
                    "description": "订单状态"
                },
                "cancel_reason": {
                    "type": "string",
                    "description": "取消原因"
                },
                "push_time": {
                    "type": "integer",
                    "description": "状态变更时间"
                },
                "sign": {
                    "type": "string",
                    "description": "签名"
                }
            },
            "required": [
                "sf_order_id",
                "shop_order_id",
                "push_time",
                "sign"
            ]
        },
        ".inventory.SFNotifySuccessReply": {
            "type": "object",
            "properties": {
                "error_code": {
                    "type": "integer"
                },
                "error_msg": {
                    "type": "string"
                }
            }
        },
        ".inventory.ScheduleInView": {
            "type": "object",
            "properties": {
                "order_number": {
                    "type": "string",
                    "description": "订单号"
                },
                "apply_time": {
                    "type": "string",
                    "description": "申请时间,格式YYYY-mm-dd HH:MM:SS"
                },
                "out_warehouse_name": {
                    "type": "string",
                    "description": "发货仓库名称"
                },
                "detail_count": {
                    "type": "integer",
                    "description": "申请项数"
                },
                "receive_time": {
                    "type": "string",
                    "description": "入库时间,格式YYYY-mm-dd HH:MM:SS"
                },
                "status": {
                    "type": "integer",
                    "description": "状态：1~订单创建（待审核），2~订单已审核（已调出），3~订单已入库，4~订单已拒绝"
                }
            }
        },
        ".inventory.ScheduleInfoView": {
            "type": "object",
            "properties": {
                "storage_type": {
                    "type": "integer",
                    "description": "仓储类别"
                },
                "storage_key": {
                    "type": "string",
                    "description": "仓储对象key(商品prod_id-sku_id, 产品m-material_id，加料f-feed_id)"
                },
                "name": {
                    "type": "string",
                    "description": "仓储对象名称"
                },
                "sku_name": {
                    "type": "string",
                    "description": "仓储规格名称"
                },
                "code": {
                    "type": "string",
                    "description": "仓储对象编码"
                },
                "type_name": {
                    "type": "string",
                    "description": "分类名称"
                },
                "unit": {
                    "type": "string",
                    "description": "零售单位名称"
                },
                "storage_unit": {
                    "type": "string",
                    "description": "库存单位明恒"
                },
                "storage_ratio": {
                    "type": "number",
                    "format": "double",
                    "description": "库存/零售换算关系"
                },
                "price": {
                    "type": "integer",
                    "description": "调拨单价(单位：元)(发货前，基于发货仓最近一次采购单价展示，作为参考输入)(发货后，仅展示输入价格)"
                },
                "apply_quantity": {
                    "type": "number",
                    "format": "double",
                    "description": "申请数量（基于零售单位）"
                },
                "send_quantity": {
                    "type": "number",
                    "format": "double",
                    "description": "发货数量（基于零售单位）"
                },
                "receive_quantity": {
                    "type": "number",
                    "format": "double",
                    "description": "入库数量（基于零售单位）"
                },
                "storage_quantity": {
                    "type": "number",
                    "format": "double",
                    "description": "实时库存（基于零售单位）"
                },
                "freeze_quantity": {
                    "type": "number",
                    "format": "double",
                    "description": "冻结中数量（基于零售单位）（所选仓库）对调出方而言，仅未冻结部分可调出"
                }
            }
        },
        ".inventory.ScheduleLine": {
            "type": "object",
            "properties": {
                "storage_type": {
                    "type": "integer",
                    "description": "仓储类别"
                },
                "storage_key": {
                    "type": "string",
                    "description": "仓储对象key(商品prod_id-sku_id, 产品m-material_id，加料f-feed_id)"
                },
                "quantity": {
                    "type": "number",
                    "format": "double",
                    "description": "数量（基于零售单位）"
                }
            }
        },
        ".inventory.ScheduleOutView": {
            "type": "object",
            "properties": {
                "order_number": {
                    "type": "string",
                    "description": "订单号"
                },
                "apply_time": {
                    "type": "string",
                    "description": "申请时间,格式YYYY-mm-dd HH:MM:SS"
                },
                "in_warehouse_name": {
                    "type": "string",
                    "description": "调入仓库名称"
                },
                "detail_count": {
                    "type": "integer",
                    "description": "申请项数"
                },
                "send_time": {
                    "type": "string",
                    "description": "调出时间,格式YYYY-mm-dd HH:MM:SS"
                },
                "status": {
                    "type": "integer",
                    "description": "状态：1~订单创建（待审核），2~订单已审核（已调出），3~订单已入库，4~订单已拒绝"
                },
                "storage_status": {
                    "type": "integer",
                    "description": "库存状态，0~充足，1~不足"
                }
            }
        },
        ".inventory.SimpleWarehouseView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "name": {
                    "type": "string",
                    "description": "仓库名称"
                }
            }
        },
        ".inventory.SingleProdReq": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "商品ID"
                },
                "sku_id": {
                    "type": "integer",
                    "description": "规格ID"
                }
            },
            "required": [
                "id"
            ]
        },
        ".inventory.SkuView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "规格ID"
                },
                "storage": {
                    "type": "integer",
                    "description": "库存数量"
                }
            },
            "description": "SkuView ."
        },
        ".inventory.StoreView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "门店ID, 0时为总部自营"
                },
                "warehouse_id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "name": {
                    "type": "string",
                    "description": "仓库名称"
                },
                "address": {
                    "type": "string",
                    "description": "仓库地址"
                },
                "distance": {
                    "type": "number",
                    "format": "double",
                    "description": "与用户所选位置距离，单位千米"
                },
                "pick_up": {
                    "type": "boolean",
                    "description": "同城时，返回仓库是否支持自提；不同城时，返回false"
                },
                "city_express": {
                    "type": "boolean",
                    "description": "是否支持同城实时配送，同城且在范围内返回true，否则为false"
                },
                "ordinary_express": {
                    "type": "boolean",
                    "description": "是否支持普通快递"
                },
                "dead_line_time": {
                    "type": "string",
                    "description": "截止接单时间: 格式为\"HH:MM:SS\""
                },
                "city_regions": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.inventory.ExpressRegionView"
                    },
                    "description": "同城配置多个配送区域匹配列表"
                },
                "ordinary_express_config": {
                    "$ref": "#/definitions/.inventory.OrdinaryExpressConfig",
                    "description": "普快配置匹配对象"
                }
            }
        },
        ".inventory.SubLossView": {
            "type": "object",
            "properties": {
                "quantity": {
                    "type": "number",
                    "format": "double",
                    "description": "提交数量（基于零售单位）"
                },
                "name": {
                    "type": "string",
                    "description": "仓储产品名称"
                },
                "code": {
                    "type": "string",
                    "description": "仓储对象编码"
                },
                "memo": {
                    "type": "string",
                    "description": "报损原因"
                },
                "type": {
                    "type": "string",
                    "description": "分类名称"
                },
                "unit": {
                    "type": "string",
                    "description": "零售单位名称"
                },
                "storage_unit": {
                    "type": "string",
                    "description": "库存单位明恒"
                },
                "storage_ratio": {
                    "type": "number",
                    "format": "double",
                    "description": "库存/零售换算关系"
                }
            }
        },
        ".inventory.SummaryView": {
            "type": "object",
            "properties": {
                "start_amount": {
                    "type": "integer",
                    "description": "期初金额(单位：元)"
                },
                "purchase_amount": {
                    "type": "integer",
                    "description": "采购金额(单位：元)"
                },
                "schedule_amount": {
                    "type": "integer",
                    "description": "调拨金额(单位：元)"
                },
                "cost_amount": {
                    "type": "integer",
                    "description": "成本金额(单位：元)"
                },
                "end_amount": {
                    "type": "integer",
                    "description": "期末金额(单位：元)"
                }
            }
        },
        ".inventory.UnitView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "单位ID"
                },
                "name": {
                    "type": "string",
                    "description": "单位名称"
                },
                "ratio": {
                    "type": "number",
                    "format": "double",
                    "description": "与零售单位换算比例"
                }
            }
        },
        ".inventory.WarehouseCityExpressPlatformView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "配送平台ID"
                },
                "name": {
                    "type": "string",
                    "description": "配送平台名称"
                },
                "info": {
                    "type": "string",
                    "description": "配送配置字段, 顺丰同城模式返回为编码, 达达同城模式返回可以不展示"
                },
                "config_type": {
                    "type": "integer",
                    "description": "配置模式1~主动配置，2~运维配置(不可配置，不可解绑)"
                },
                "status": {
                    "type": "integer",
                    "description": "绑定状态：0~申请中（本期不透出）, 1~已配置,  2~已拒绝（本期不透出）, 3~已解绑"
                }
            }
        },
        ".inventory.WarehouseStorageType": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "二级类别ID"
                },
                "name": {
                    "type": "string",
                    "description": "类别名称（多级时拼接）"
                }
            }
        },
        ".inventory.WarehouseStorageView": {
            "type": "object",
            "properties": {
                "storage_type": {
                    "type": "integer",
                    "description": "仓储类别"
                },
                "storage_key": {
                    "type": "string",
                    "description": "仓储对象key(商品prod_id-sku_id, 产品m-material_id，加料f-feed_id)"
                },
                "name": {
                    "type": "string",
                    "description": "仓储商品名称"
                },
                "sku_name": {
                    "type": "string",
                    "description": "仓储规格名称"
                },
                "type_name": {
                    "type": "string",
                    "description": "类别名称(商品时，依赖web调用获取)"
                },
                "price": {
                    "type": "integer",
                    "description": "零售单价（产品时为空）（单价也依赖web展示）"
                },
                "current_quantity": {
                    "type": "number",
                    "format": "double",
                    "description": "仓库剩余数量"
                },
                "freeze_quantity": {
                    "type": "number",
                    "format": "double",
                    "description": "冻结中数量"
                },
                "unit": {
                    "type": "string",
                    "description": "零售单位名称"
                },
                "code": {
                    "type": "string",
                    "description": "编码"
                },
                "storage_unit": {
                    "type": "string",
                    "description": "库存单位名称"
                },
                "storage_ratio": {
                    "type": "number",
                    "format": "double",
                    "description": "库存/零售单位换算关系"
                },
                "purchase_unit": {
                    "type": "string",
                    "description": "采购单位名称"
                },
                "purchase_ratio": {
                    "type": "number",
                    "format": "double",
                    "description": "采购/零售单位换算关系"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                }
            }
        },
        ".inventory.WarehouseView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "name": {
                    "type": "string",
                    "description": "仓库名称"
                },
                "store_id": {
                    "type": "integer",
                    "description": "门店ID(0~总部仓)"
                },
                "address": {
                    "type": "string",
                    "description": "仓库地址"
                },
                "pick_up": {
                    "type": "boolean",
                    "description": "是否支持自提"
                },
                "city_express": {
                    "type": "boolean",
                    "description": "是否支持同城配送"
                },
                "ordinary_express": {
                    "type": "boolean",
                    "description": "是否支持普通快递"
                },
                "latitude": {
                    "type": "number",
                    "format": "double",
                    "description": "纬度"
                },
                "longitude": {
                    "type": "number",
                    "format": "double",
                    "description": "经度"
                },
                "city_code": {
                    "type": "integer",
                    "description": "城市编码"
                },
                "region_code": {
                    "type": "string",
                    "description": "区域编码"
                },
                "contact": {
                    "type": "string",
                    "description": "仓库联系人名称（退货使用）"
                },
                "mobile": {
                    "type": "string",
                    "description": "仓库联系人电话（退货使用）"
                },
                "deadline": {
                    "type": "string",
                    "description": "自提模式每日截止下单时间（截止时间后下单则后一个自然日才能自提）"
                },
                "storage_mode": {
                    "type": "integer",
                    "description": "库存管理模式，0~弱管控，1~强管控"
                }
            }
        },
        ".inventory.WebToken": {
            "type": "object",
            "properties": {
                "emp_id": {
                    "type": "integer",
                    "description": "员工ID"
                },
                "brand_id": {
                    "type": "integer",
                    "description": "品牌ID"
                },
                "name": {
                    "type": "string",
                    "description": "员工姓名"
                },
                "g_id": {
                    "type": "string",
                    "description": "统一账号ID"
                }
            },
            "description": "web token 标准结构",
            "required": [
                "emp_id",
                "brand_id"
            ]
        }
    }
},
            dom_id: '#swagger-ui',
            validatorUrl: null,
            presets: [
                SwaggerUIBundle.presets.apis,
                SwaggerUIStandalonePreset
            ],
            plugins: [
                SwaggerUIBundle.plugins.DownloadUrl
            ],
            layout: "StandaloneLayout"
        })

        window.ui = ui
    }
</script>
</body>

</html>